package com.lemon.core.common.lang.xml.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author hdzhang
 * @ClassName XmlTmplEle
 * @desc xml节点类
 * @Date 2018/8/27 13:51
 * @Version 1.0
 **/
public class XmlTmplEle implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Integer pid;

    private String eleName;

    private String eleVal;

    private Integer tmplType;

    private String tmplPlace;

    private Integer isCdata;

    private Integer depth;

    private String desc;

    private Date createTime;

    private List<XmlTmplAttr> attrs;

    private List<XmlTmplEle> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getEleName() {
        return eleName;
    }

    public void setEleName(String eleName) {
        this.eleName = eleName;
    }

    public String getEleVal() {
        return eleVal;
    }

    public void setEleVal(String eleVal) {
        this.eleVal = eleVal;
    }

    public Integer getTmplType() {
        return tmplType;
    }

    public void setTmplType(Integer tmplType) {
        this.tmplType = tmplType;
    }

    public String getTmplPlace() {
        return tmplPlace;
    }

    public void setTmplPlace(String tmplPlace) {
        this.tmplPlace = tmplPlace;
    }

    public Integer getIsCdata() {
        return isCdata;
    }

    public void setIsCdata(Integer isCdata) {
        this.isCdata = isCdata;
    }

    public Integer getDepth() {
        return depth;
    }

    public void setDepth(Integer depth) {
        this.depth = depth;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<XmlTmplAttr> getAttrs() {
        return attrs;
    }

    public void setAttrs(List<XmlTmplAttr> attrs) {
        this.attrs = attrs;
    }

    public List<XmlTmplEle> getChildren() {
        return children;
    }

    public void setChildren(List<XmlTmplEle> children) {
        this.children = children;
    }
}
